
import { EChartType, ESubAxisChartType } from "@/core/ChartType";
import ChartForm from "../ChartForm";
import { ChartFormItemContext } from "../ChartFormItem";
import { EChartFormItem, EMateDataType, IChartFormItem, IMateData } from "../ChartItemType";
export default abstract class PieChartFormAbstract extends ChartForm {
    private data: ChartFormItemContext;
    constructor() {
        super();
        this.useFormState("xAxis", this.data = new ChartFormItemContext({
            label: "X轴",
            value: "",
            placeHolder: "请选择X轴的数据",
            // name: "xAxis",
            datas: "",
            type: EChartFormItem.Select,
            mateData: {
                type: EMateDataType.String
            }
        }));
    }

}